#ifndef ZMS_WORLD_H
#define ZMS_WORLD_H

#include <list>
using std::list;
#include <Box2D/Box2D.h>
#include <SDL/SDL.h>

class World : private b2World
{
	public:
		World();
		~World();

		void Step(float32 timestep);
		void Render();

	private:

		void AddBody(const b2BodyDef* def, SDLSurface* texture);

		struct textured_body
		{
			b2Body* body;
			SDLSurface* texture;
		}

		list<textured_body> terrain_;
};

#endif
